#include"vector.h"
void test01() {
	wz::vector<int> v1({ 1,2,3,4});
	v1.push_back(1);
	v1.push_back(1);
	v1.push_back(1);
	for (auto e : v1) {
		cout << e << ' ';
	}
	cout << endl;
}
void test02() {
	wz::vector<int> v1({ 1,2,3,4,5,6 });
	v1.push_back(1);
	v1.push_back(1);
	v1.push_back(1);
	wz::vector<int> v2(v1);
	for (auto e : v2) {
		cout << e << ' ';
	}
	cout << endl;
}
void test03() {
	wz::vector<int> v1({ 1,2,3,4,5,6 });
	const wz::vector<int> v2({ 1,2,3,4,5,6 });
	wz::vector<int> v3;
	v3 = v2;
	for (auto e : v3) {
		cout << e << ' ';
	}
	cout << endl;
}
void test04() {
	wz::vector<int> v1({ 1,2,3,4,5,6 });
	cout << v1.size() << " " << v1.capacity() << endl;
	v1.rsize(10);
	for (auto e : v1) {
		cout << e << ' ';
	}
	cout << endl;
}
int main() {
	//test01();
	//test02();
	//test03();
	test04();
	return 0;
}